package com.woniuxy.dao;

import com.woniuxy.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AfterLoanDao {
    List<UserYewuDate> listRepayment();

    List<UserYewuDate> queryRepayment(@Param("datas") BeforeQueryData datas);

    List<LoanCheckData> listCheckUp();

    List<LoanCheckData> queryCheckUp( @Param("datas") BeforeQueryData datas);

    List<LoanWarningData> listLoanWarning();

    List<LoanWarningData> queryLoanWarning(@Param("datas") BeforeQueryData datas);

    List<LoanRateChangeData> queryRateLog(@Param("datas") BeforeQueryData datas);

    List<LoanRateChangeData> listRateLog();

    List<UserYewuDate> queryLoanEnd(@Param("datas") BeforeQueryData datas);

    List<UserYewuDate> listLoanEnd();

    int updateWarningType(int loansId, String type);
}
